package com.woniuxy.lab.woniu_lab.service.dto.markDto;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@ApiModel(value = "用户收藏靶场表")
@Data
public class UserMarkDto {

    /**
     * 靶场ID
     */
    @ApiModelProperty(value = "靶场ID")
    private Integer id;

    /**
     * 所属分类(扫描类、文件类、SQL注入类、XSS类、CSRF类、SSRF类、代码执行、命令执行、文件上传类、文件包含类、反序列化类、Redis类、内网渗透类)
     */
    private String rangeType;

    /**
     * 靶场对应实验名
     */
    @ApiModelProperty(value = "靶场对应的实验名")
    private String experName;

    /**
     * 靶场名称
     */
    @ApiModelProperty(value = "靶场名称",example = "php反序列化")
    private String name;

    /**
     * 难度(low/middle/high)
     */
    @ApiModelProperty(value = "靶场难度",example = "low/middle/high")
    private String level;

    /**
     * 积分
     */
    @ApiModelProperty(value = "积分",example = "1")
    private Integer score;

    /**
     * 状态（可用性）ENABLE/DISABLE
     */
    @ApiModelProperty(value = "状态（可用性）",example = "ENABLE/DISABLE")
    private String status;


    /**
     * 实验封面地址
     */
    @ApiModelProperty(value = "实验封面地址",example = "https://sharepack.oss-cn-chengdu.aliyuncs.com/1627493975696990208.jpg")
    private String pic;

}
